package com.shuai.provider;

import com.shuai.common.service.UserService;
import com.shuai.frame.bootstrap.ProviderBootstrap;
import com.shuai.frame.bootstrap.ServiceRegisterInfo;
import com.shuai.frame.model.ServiceMetaInfo;

import java.util.Collections;
import java.util.concurrent.ExecutionException;

public class ProviderMainForCoreFrame {
    public static void main(String[] args) throws ExecutionException, InterruptedException {
        ProviderBootstrap.init(Collections.singletonList(new ServiceRegisterInfo<UserService>(UserService.class.getName(), "", UserServiceImpl.class)));
    }
}
